﻿--HEADER fixed PK in UDS.LastProcessedAction
DROP TABLE [UDS].[LastProcessedAction]

GO

DELETE FROM [Analytics].[State]

GO

CREATE TABLE [UDS].[LastProcessedAction](
	[FundBookEntityId] int NOT NULL,
	[ActionId] int NULL,
	[ProcessorCode] TINYINT NOT NULL,
	CONSTRAINT PK_LastProcessedAction PRIMARY KEY (FundBookEntityId, ProcessorCode)
)


